<style type="text/css">
</style>
<div class="fui-page fui-page-current">
	<div class="fui-content">
		<div ng-if="pagedata.pluginset.ishdp!=1" class="fui-picturew" style="padding: 0 0.15rem;padding-top:0.3rem">
                <a ng-repeat="item in pagedata.pluginset.cube" href="javascript:;" ng-click="access_json(item.action)" class="item" style="padding: 0.15rem;">
                    <div class="image">
                        <img ng-src="{{tomedia(item.picurl) || '../core/resource/images/nopic.jpg'}}">
                    </div>
                </a>
		</div>
		<div ng-if="pagedata.pluginset.ishdp==1">
		<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true">
			<div class="carousel-inner" role="listbox">
				<div ng-repeat="nav in pagedata.pluginset.cube" ng-class="{'item':1, 'active':$index==0}" >
					<a ng-click="access_json(nav.action)">
						<img ng-src="{{tomedia(nav.picurl) || '../core/resource/images/nopic.jpg'}}" style="display: block; width: 100%; height: 100%;">
					</a>
				</div>
			</div>
			<style>
					.fui-swipe-page .fui-swipe-bullet {width:0.2rem;height:0.2rem;border-radius: 0.2rem;}
					.fui-swipe-page .fui-swipe-bullet.active {opacity: 1;width:0.6rem;border-radius: 0.2rem;}
			</style>
			<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 0.2rem; bottom: 0.2rem; ">
				<div class="fui-swipe-bullet" ng-repeat="nav in pagedata.pluginset.cube" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
			</div>
		</div>
		<script>
			require(['bootstrap', 'hammer'], function($, Hammer){
				$('#carousel-container').carousel();
				var mc = new Hammer($('#carousel-container').get(0));
				mc.on("panleft", function(ev) {
					$('#carousel-container').carousel('next');
				});
				mc.on("panright", function(ev) {
					$('#carousel-container').carousel('prev');
				});
			});
		</script>
		</div>
		<div style="padding: 0 0.3rem">
		<div class="fui-cell-group fui-comment-group" style="margin-top:0.3rem">
			<div class="fui-cell">
					<div class="fui-cell-label"></div>
					<div class="fui-cell-text bold" style="font-size:0.75rem">平台公告</div>
					<div class="fui-cell-remark noremark"></div>
			</div>
			<div ng-if="pagedata.notices.length>0" class="fui-notice">
				<div class="image"><img src="../core/resource/images/diy/hotdot.jpg"></div>
				<div class="icon"><i class="fa fa-volume-up" style="font-size: 0.7rem;"></i></div>
				<div class="text">
					<ul>
							<li ng-repeat="item in pagedata.notices">
								<a href="javascript:;" ng-click="access_json('jy_baobiao/notice/detail/id='+item.id)">{{item.title}}</a>
							</li>
					</ul>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			function autoScroll(obj){
				$(obj).find("ul").animate({  
					marginTop : "-1rem"  
				},800,function(){  
					$(this).css({marginTop : "0px"}).find("li:first").appendTo(this);  
				})  
			}  
			$(function(){  
				setInterval('autoScroll(".fui-notice .text")',3000);
			}) 
		</script>
		<!--<div class="fui-cell-group fui-comment-group">
			<div class="fui-cell">
					<div class="fui-cell-label"></div>
					<div class="fui-cell-text bold" style="font-size:0.75rem">申报资料上传</div>
					<div class="fui-cell-remark noremark"></div>
			</div>
			<div class="fui-cell" href="javascript:;" ng-click="access_json('/gongsi.project/edit/')">
					<div class="fui-cell-icon" style="width:3.5rem">
						<img style="width:3rem;height:3rem" ng-src="{{tomedia(item.pagedata.pluginset.applyimg) || '../core/resource/images/nopic.jpg'}}">
					</div>
					<div class="fui-cell-text bold" style="font-size:0.75rem">{{pagedata.pluginset.applytitle || '科普申报'}}</div>
					<div class="fui-cell-remark"></div>
			</div>
		</div>-->
		<div ng-if="pagedata.pluginset.bankuai.length>0" style="padding: 0.25rem 0;width:100%">
		<div class="fui-icon-group noborder col-4" style="background: #ffffff">
			<a class="fui-icon-col external" ng-repeat="item in pagedata.pluginset.bankuai" ng-if="item.is_install!=1" href="javascript:;" ng-click="access_json(item.action)">
					<div class="icon"><img src="{{tomedia(item.img) || '../core/resource/images/nopic.jpg'}}"></div>
					<div class="text" style="color: #666666;">{{item.title}}</div>
			</a>
		</div>
		</div>
		<div class="fui-cube" ng-click="access_json(pagedata.pluginset.indexadurl)" style="padding:0.3rem 0;height:auto">
			<img style="height:auto" ng-src="{{tomedia(pagedata.pluginset.indexad) ||'../addons/jy_baobiao/resource/images/hdp.jpg'}}"/>
		</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script type="text/javascript">
</script>
